package cn.ulc.store.dao;
import cn.ulc.store.entity.*;

import org.beetl.sql.core.annotatoin.SqlResource;

import java.util.List;
import java.util.Map;

/*
* Bill
* gen by Jin mapper 2019-05-28
*/
@SqlResource("bill")
public interface BillDao extends BaseDao<Bill> {

  List<Bill> findByBillTypeAndDate(String billType,String date);

  List<Map<String,Object>> findByBillType(String billType,String beginDate, String endDate);

  List<Bill> findByDate(String date);

  List<Map<String,Object>> findByType(String beginDate, String endDate);

  Bill findByDealDate(String beginDate,String endDate);

}
